﻿@using JULONG.WEB.Library
@{
    string controller = Html.getRoute(routeKeyEnum.controller);
    string oid = Html.getRoute(routeKeyEnum.id);
 }

<div class="item"><a href="/powerManage/Channel/index">频道列表</a></div>

<hr />


<div class="item"><a target="_blank" href="\">打开网站</a></div>

<script type="text/javascript">
    $(function () {
        var controller = "@controller";
        var oid = "@oid";
        var urlsObj = $(".menuPanle .item a").each(function () {

            if ($(this).attr("controller") == "document" && controller == "document") {

                if (oid == $(this).attr("oid")) {
                    $(this.parentNode).addClass("focus");
                } else if ($(this).attr("oid")==undefined) {
                    $(this.parentNode).addClass("focus");
                }
            } else {

                if ($(this).attr("controller") == controller) {

                    $(this.parentNode).addClass("focus");



                }
            }

        })

    });
</script>